package com.jingdianjichi.auth.domain.convert;



import com.jingdianjichi.auth.domain.entity.AuthPermissionBO;
import com.jingdianjichi.auth.domain.entity.AuthRoleBO;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthPermission;
import com.jingdianjichi.auth.infra.basic.entity.AuthRole;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * 标签dto的转换
 */
@Mapper
public interface AuthBOConverter {
    AuthBOConverter INSTANCE=Mappers.getMapper(AuthBOConverter.class);
    AuthUser convertAuthUserBOToEntity(AuthUserBO authUserBO);
    AuthRole convertAuthRoleBOToEntity(AuthRoleBO authRoleBO);
    AuthPermission convertAuthPermissionBOToEntity(AuthPermissionBO authPermissionBO);
    AuthUserBO convertAuthUserToBO(AuthUser authUser);
}
